
	class Number {
		private int number;
		
		public Number(int num){
			this.number = num;
		}
		
		//Methods
		
		public int getNumber(){
			return this.number;
		}
		
			//Check if a number is a prime number
		static public boolean checkPrime(int number){
			int counter = 2;
			
			while ((number > counter) && (number%counter != 0) ){
				counter = counter + 1;
				}
			if (number%counter == 0 && counter != number){
				return false;
			}
			
			else{
				return true;
			}
			
		}
		
		static public String getFactors(int number){
		String a = " ";
		int counter = 1;
		while (number >= counter ){
			
			counter = counter + 1;
			
			if (number%counter == 0 && number != 1 && (checkPrime(counter) == true)){
				
				a = a + counter + ", ";
				
			}
		}
		return a;
		}
	
		

}
